package com.elanfox.littlereporter.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author allan
 * @date 2018-03-25
 */
@Configuration
@EnableJpaRepositories(basePackages = {
        "com.elanfox.littlereporter"
})
@EnableTransactionManagement
@ImportResource({
        "classpath:persistence_config_dev.xml",
        "classpath:persistence_config_prod.xml",
        "classpath:persistence_config_test.xml"
})
public class ServiceConfig {

}
